home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).zip / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).adf / Include / Serial.i < prev    next >
Text File  |  1989-07-02  |  623b  |  34 lines

  1.  
  2. {
  3.     These are a couple structures for serial IO stuff.
  4. }
  5.  
  6. {$I "Include/ExecIO.i"}
  7.  
  8. const
  9.     SER_PARITYON    = $01;
  10.     SER_PARITYODD    = $02;
  11.     SER_SEVENWIRE    = $04;
  12.     SER_QUEUEDBREAK    = $08;
  13.     SER_HIGHSPEED    = $10;
  14.     SER_SHARED        = $20;
  15.     SER_EOFMODE        = $40;
  16.     SER_DISABLED    = $80;
  17.  
  18. type
  19.     IOExtSer = record
  20.     ioSer        : IOStdReq;
  21.     ioCtlChar   : array [0..3] of char;
  22.     ioRBufLen   : integer;
  23.     ioWBufLen   : integer;
  24.     ioBaud      : integer;
  25.     ioBrkTime   : integer;
  26.     ioTermArray : array [0..7] of char;
  27.     ioReadLen   : byte;
  28.     ioWriteLen  : byte;
  29.     ioStopBits  : byte;
  30.     ioSerFlags  : byte;
  31.     ioStatus    : short;
  32.     end;
  33.  
  34.